package net.dodoman.enums;

/**
 * 定义常量并且知道常量的描述
 * 
 * @author yanping
 * 
 */
public class MessageInfoThirdWay {

	enum EnumMessageInfo {
		MI(1, "thirdinfo1"), MIMORE(2, "thirdwayinfo2");
		private int code;

		private String info;

		EnumMessageInfo(int code, String info) {
			this.code = code;
			this.info = info;
		}

		public int getCode() {
			return this.code;
		}

		public String getInfo() {
			return this.info;
		}
	}

}
